﻿    @model EMRI.EmergencyCare.Web.Helper.PatientDetailsViewModel
@{
   @* Layout = "~/Views/Shared/_PrintLayout.cshtml";*@
}
<!--ViewBag.Title = "Patient Details"; }

<h2>
    @ViewBag.Title</h2>-->
<fieldset>
    <legend>PatientRecord</legend>
   @* <table>
        <tr>
            <td>
                <a href="#">
                    <img src="../../Images/header_img1.jpg" alt="Logo" /></a>
            </td>
        </tr>
    </table>*@
    
    <table>
       
        <tr>
            <td>
                <h2 align="center">
                    EMERGENCY CARE TREATMENT / DISCHARGE CERTIFICATE
                </h2>
            </td>
        </tr>
        <tr>
            <font size="3">
                <td>
                    <label>
                        (Issued In Continuation to the Accident Register-Cum Wound Certificate)
                    </label>
                </td>
            </font>
        </tr>
        <!-- <tr>
            <font size="4">
                <td>
                    <label>
                        1. Serial No., Date & Name of Institution of the Wound Certificate…………………………
                    </label>
                </td>
            </font>
        </tr> -->
        <tr>
            <font size="3">
                <td>
                    <label>
                        1.
                    </label>
                    @Html.LabelFor(m => m.Patient.Name)
                    <b>
                        @Model.Patient.Name
                    </b>
                    <label>
                        ....
                    </label>
                    @Html.LabelFor(m => m.PatientDetails.Age)
                    <b>
                        @Model.PatientDetails.Age
                    </b>
                    <label>
                        Years.
                    </label>
                    @Html.LabelFor(m => m.PatientDetails.Sex)
                    <b>
                        @Model.PatientDetails.Sex
                    </b>
                    <label>
                        ....
                    </label>
                </td>
            </font>
        </tr>
        <tr>
            <font size="3">
                <td>
                    <label>
                        2.
                    </label>
                    @Html.LabelFor(m => m.PatientDetails.District)
                    <b>
                        @ViewData["District"]
                    </b>
                    @Html.LabelFor(m => m.PatientDetails.Taluk)
                    <b>
                        @ViewData["Taluk"]
                    </b>
                    @Html.LabelFor(m => m.PatientDetails.City)
                    <b>
                        @ViewData["City"]
                    </b>
                </td>
            </font>
        </tr>
        <tr>
            <font size="3">
                <td>
                    <!--<label>
                        3.IP No...
                    </label> -->
                    <label>
                        3.Date Of Admission:
                    </label>
                    <b>
                        @Model.PatientDetails.PatientInDateTime
                    </b>
                    <label>
                        Date Of Discharge:
                    </label>
                    <b>
                        @Model.PatientDetails.Synopsis.DischargeDateTime
                    </b>
                </td>
            </font>
        </tr>
        <tr>
            <font size="3">
                <td>
                    <label>
                        4.Name Of the Doctor who treated the patient: <b>
                            @Model.Patient.Doctor
                        </b>
                    </label>
                </td>
            </font>
        </tr>
        <tr>
            <font size="3">
                <td>
                    <label>
                        5.Level of Consiousness.
                    </label>
                    @if (Model.PatientDetails.InitialAssesment.IsAlert)
                    {
                    
                        <label>
                            <b>Alert </b>
                        </label>
                        <!--@Model.PatientDetails.InitialAssesment.IsAlert-->
                    }
                    @if (Model.PatientDetails.InitialAssesment.IsVerbal)
                    {

                        <label>
                            <b>Verbal </b>
                        </label>
                   
                    }
                    @if (Model.PatientDetails.InitialAssesment.IsPain)
                    {
                    
                        <label>
                            <b>Pain </b>
                        </label>
                   
                    }
                    @if (Model.PatientDetails.InitialAssesment.IsUnresponsive)
                    {
                   
                        <label>
                            <b>Unresponsive </b>
                        </label>
                   
                    }
                    @Model.PatientDetails.InitialAssesment.Locintervention
                </td>
                <!--<td>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistorySigns)
                    <label>
                        ,
                    </label>
                </td> -->
            </font>
        </tr>
        <tr>
            <font size="3">
                <td>
                    @if (Model.PatientDetails.InitialAssesment.HasPatentAirway)
                    {
                        <label>
                            AirWay Patent:
                        </label>
                        <b>Yes </b>
            
                    }
                    else
                    {
                        <label>
                            AirWay Patent:
                        </label>
                        <b>No </b>
                    }
                    @if (Model.PatientDetails.InitialAssesment.IsAbnormalSoundsAirway)
                    {
                        <label>
                            Abnormal Sounds:
                        </label>
                        <b>Yes </b>
                    }
                    else
                    {
                        <label>
                            Abnormal Sounds:
                        </label>
                        <b>No </b>
                    }
                    @if (Model.PatientDetails.InitialAssesment.IsFluidsAirway)
                    {
                        <label>
                            Fluids:
                        </label>
                        <b>Yes </b>
                    }
                    else
                    {
                        <label>
                            Fluids:
                        </label>
                        <b>No </b>
                    }
                    @Model.PatientDetails.InitialAssesment.AirwayIntervention
                </td>
            </font>
        </tr>
        <tr>
            <font size="3">
                <td>
                    @if (Model.PatientDetails.InitialAssesment.HasBreathing)
                    {
                        <label>
                            Breathing Present:
                        </label>
                        <b>Yes </b>
            
                    }
                    else
                    {
                        <label>
                            Breathing Present:
                        </label>
                        <b>No </b>
                    }
                    @if (Model.PatientDetails.InitialAssesment.IsBreathingRateNormal)
                    {
                        <label>
                            Rate:
                        </label>
                        <b>Normal </b>
                    }
                    else
                    {
                        <label>
                            Rate:
                        </label>
                        <b>AbNormal </b>
                    }
                    @if (Model.PatientDetails.InitialAssesment.IsBreathingAdequate)
                    {
                        <label>
                            Adequate:
                        </label>
                        <b>Yes </b>
                    }
                    else
                    {
                        <label>
                            Adequate:
                        </label>
                        <b>No </b>
                    }
                    @Model.PatientDetails.InitialAssesment.BreathingIntervention
                </td>
            </font>
        </tr>
        <tr>
            <font size="3">
                <td>
                    @if (Model.PatientDetails.InitialAssesment.Circulation)
                    {
                        <label>
                            Circulation Present:
                        </label>
                        <b>Yes </b>
            
                    }
                    else
                    {
                        <label>
                            Circulation Present:
                        </label>
                        <b>No </b>
                    }
                    @if (Model.PatientDetails.InitialAssesment.CirculationRateNormal)
                    {
                        <label>
                            Rate:
                        </label>
                        <b>Normal </b>
                    }
                    else
                    {
                        <label>
                            Rate:
                        </label>
                        <b>Abnormal </b>
                    }
                    @if (Model.PatientDetails.InitialAssesment.CirculationRegular)
                    {
                        <label>
                            Regular:
                        </label>
                        <b>Yes </b>
                    }
                    else
                    {
                        <label>
                            Regular:
                        </label>
                        <b>No </b>
                    }
                    @Model.PatientDetails.InitialAssesment.CirculationIntervention
                </td>
            </font>
        </tr>
        <tr>
            <font size="3">
                <td>
                    <label>
                        6.Results Of Clinical Investigations If any :
                    </label>
                </td>
            </font>
        </tr>
        <tr>
            <font size="3">
                <td>
                    @Html.LabelFor(m => m.PatientDetails.Investigation.Ecg)
                    <label>
                        :
                    </label>
                    @Model.PatientDetails.Investigation.Ecg
                </td>
            </font>
        </tr>
        <tr>
            <font size="3">
                <td>
                    @Html.LabelFor(m => m.PatientDetails.Investigation.Xray)
                    <label>
                        :
                    </label>
                    @Model.PatientDetails.Investigation.Xray
                </td>
            </font>
        </tr>
        <tr>
            <font size="3">
                <td>
                    @Html.LabelFor(m => m.PatientDetails.Investigation.Blood)
                    <label>
                        :
                    </label>
                    @Model.PatientDetails.Investigation.Blood
                </td>
            </font>
        </tr>
        <tr>
            <font size="3">
                <td>
                    @Html.LabelFor(m => m.PatientDetails.Investigation.Others)
                    <label>
                        :
                    </label>
                    @Model.PatientDetails.Investigation.Others
                </td>
            </font>
        </tr>
        <tr>
            <font size="3">
                <td>
                    <label>
                        7.Injuries Diagnosed other than those noted in the wound certificate , if any
                    </label>
                </td>
            </font>
        </tr>
        <tr>
            <tr>
                <td>
                    <label>
                        .................................................................................................................................................................................................
                    </label>
                </td>
            </tr>
            <!--
            <tr>
                <td>
                    <label>
                        .................................................................................................................................................................................................
                    </label>
                </td>
            </tr>-->
            <tr>
                <font size="3">
                    <td>
                        <label>
                            8.Details of treatment given, including those of surgical of surgical and other
                            procedures if any :
                        </label>
                    </td>
                </font>
            </tr>
            <tr>
                <font size="3">
                    <td>
                        @Html.LabelFor(m => m.PatientDetails.Treatment.Advice)
                        <label>
                            :
                        </label>
                        @Model.PatientDetails.Treatment.Advice
                    </td>
                </font>
            </tr>
            <tr>
                <font size="3">
                    <td>
                        <label>
                            9.Condition at discharge:
                        </label>
                        @if (Model.PatientDetails.Synopsis.HasImproved)
                        {
                    
                            <label>
                                Improved
                            </label>
                    
                        }
                        @if (Model.PatientDetails.Synopsis.IsStatusQuo)
                        {
                    
                            <label>
                                StatusQuo
                            </label>
                   
                        }
                        @if (Model.PatientDetails.Synopsis.IsDeterioated)
                        {
                   
                            <label>
                                Deterioated
                            </label>
                    
                        }
                        @if (Model.PatientDetails.Synopsis.IsDeath)
                        {
                    
                            <label>
                                Death
                            </label>
                    
                        }
                    </td>
                </font>
            </tr>
            <tr>
                <font size="3">
                    <td>
                        @if (Model.PatientDetails.Synopsis.IsDischarged)
                        {
                    
                            <label>
                                Discharged
                            </label>
                   
                        }
                        @if (Model.PatientDetails.Synopsis.IsAdmitted)
                        {
                   
                            <label>
                                Admitted
                            </label>
                    
                        }
                        @if (Model.Patient.IsReferred)
                        {
                    
                            <label>
                                Referred
                            </label>
                   
                        }
                    </td>
                </font>
            </tr>
            <tr>
                <font size="3">
                    <td>
                        <label>
                            10.Advice Given at the time of discharge regarding further treatment if necessary:
                        </label>
                    </td>
                </font>
            </tr>
            <tr>
                <font size="3">
                    <td>
                        @Html.LabelFor(m => m.PatientDetails.Treatment.Summary)
                        <label>
                            :
                        </label>
                        @Model.PatientDetails.Treatment.Summary
                    </td>
                </font>
            </tr>
            <tr>
                <font size="3">
                    <td>
                        <label>
                            11.Remarks if Any : ..........................................................................................................
                        </label>
                    </td>
                </font>
            </tr>
            <tr>
                <font size="3">
                    <td>
                        <label>
                            Date :@Model.PatientDetails.Synopsis.DischargeDateTime.ToString("d")
                        </label>
                    </td>
                </font>
            </tr>
            <tr>
            </tr>
        @*<tr>
                <font size="4">
                    <td>
                        <label>
                            Place : @Model.PatientDetails.Location
                        </label>
                    </td>
                </font>
            </tr>*@
    </table>
    <table>
        <tr>
            <font size="3">
                <td>
                    <label>
                        Name of Centre : @Model.Patient.Location
                    </label>
                </td>
                <td>
                    <label>
                        Signature of the Doctor
                    </label>
                </td>
                <td>
                    <label>
                        Signature of the Paramedic
                    </label>
                </td>
            </font>
        </tr>
    </table>
    <div style="page-break-before: always">
    </div>
    <table>
        <tr>
            <td>
                <a href="#">
                    <img src="../../Images/header_img1.jpg" alt="Logo" /></a>
            </td>
        </tr>
    </table>
    <table>
        <tr>
            <td>
                <h6 align="Right">
                    <label>
                        EM Care Centre location :
                    </label>
                    @Model.Patient.Location
                </h6>
                <h2 align="center">
                    EMERGENCY CARE DISCHARGE SUMMARY
                </h2>
            </td>
        </tr>
    </table>
    <table>
        <tr>
            <font size="4">
                <td>
                    @Html.LabelFor(m => m.PatientDetails.PatientId)
                </td>
                <td>
                    <label>
                        :
                    </label>
                </td>
                <td>
                    <b>
                        @Model.PatientDetails.PatientId
                    </b>
                </td>
            </font>
        </tr>
        <tr>
            <font size="4">
                <td>
                    @Html.LabelFor(m => m.Patient.Name)
                </td>
                <td>
                    <label>
                        :
                    </label>
                </td>
                <td>
                    <b>
                        @Model.Patient.Name
                    </b>
                </td>
            </font>
        </tr>
        <tr>
            <font size="4">
                <td>
                    @Html.LabelFor(m => m.PatientDetails.Age)
                </td>
                <td>
                    <label>
                        :
                    </label>
                </td>
                <td>
                    <b>
                        @Model.PatientDetails.Age
                    </b>
                </td>
            </font>
        </tr>
        <tr>
            <font size="4">
                <td>
                    @Html.LabelFor(m => m.PatientDetails.Sex)
                </td>
                <td>
                    <label>
                        :
                    </label>
                </td>
                <td>
                    <b>
                        @Model.PatientDetails.Sex
                    </b>
                </td>
            </font>
        </tr>
        <tr>
            <font size="4">
                <td>
                    @Html.LabelFor(m => m.PatientDetails.ChiefComplaint)
                </td>
                <td>
                    <label>
                        :
                    </label>
                </td>
                <td>
                    <b>
                        @Model.PatientDetails.ChiefComplaint
                    </b>
                </td>
            </font>
        </tr>
        <tr>
            <font size="4">
                <td>
                    <label>
                        Date & Time
                    </label>
                </td>
                <td>
                    <label>
                        :
                    </label>
                </td>
                <td>
                    <b>
                        @Model.Patient.CreatedDate
                    </b>
                </td>
            </font>
        </tr>
        <!-- <tr>
            <td>
                @Html.LabelFor(m => m.Patient.Location)
                <label>
                    :
                </label>
                <b>
                    @Model.Patient.Location
                </b>
            </td>
            
        </tr>-->
        <tr>
            <font size="4">
                <td>
                    <label>
                        H / O Present Illness
                    </label>
                </td>
                <td>
                    <label>
                        :
                    </label>
                </td>
                <td>
                    @Model.PatientDetails.IncidentNarration
                </td>
            </font>
        </tr>
        <tr>
            <font size="4">
                <td>
                    <label>
                        Physical Examination
                    </label>
                </td>
                <td>
                    <label>
                        :
                    </label>
                </td>
                <td>
                    @if (Model.PatientDetails.InitialAssesment.IsAlert)
                    {
                   
                        <label>
                            Alert
                        </label>
                    
                    }
                    @if (Model.PatientDetails.InitialAssesment.IsVerbal)
                    {

                  
                        <label>
                            Verbal
                        </label>
                    
                    }
                    @if (Model.PatientDetails.InitialAssesment.IsPain)
                    {
                   
                        <label>
                            Pain
                        </label>
                   
                    }
                    @if (Model.PatientDetails.InitialAssesment.IsUnresponsive)
                    {
                   
                        <label>
                            Unresponsive
                        </label>
                    
                    }
                </td>
            </font>
        </tr>
        <tr>
            <font size="4">
                <td>
                    @Html.LabelFor(m => m.PatientDetails.InitialAssesment.Locintervention)
                </td>
                <td>
                    <label>
                        :
                    </label>
                </td>
                <td>
                    @Model.PatientDetails.InitialAssesment.Locintervention
                </td>
            </font>
        </tr>
        <tr>
            <font size="4">
                <td>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistorySigns)
                </td>
                <td>
                    <label>
                        :
                    </label>
                </td>
                <td>
                    @Model.PatientDetails.DetailedAssesment.HistorySigns
                </td>
            </font>
        </tr>
        <tr>
            <font size="4">
                <td>
                    <label>
                        Course in the Hospital
                    </label>
                </td>
                <td>
                    <label>
                        :
                    </label>
                </td>
                <td>
                    @Model.PatientDetails.Treatment.Advice
                </td>
            </font>
        </tr>
        <tr>
            <font size="4">
                <td>
                    <label>
                        Summary
                    </label>
                </td>
                <td>
                    <label>
                        :
                    </label>
                </td>
                <td>
                    @Model.PatientDetails.Treatment.Summary
                </td>
            </font>
        </tr>
        <tr>
            <font size="4">
                <td>
                    <label>
                        Condition on Discharge
                    </label>
                </td>
                <td>
                    <label>
                        :
                    </label>
                </td>
                <td>
                    @if (Model.PatientDetails.Synopsis.HasImproved)
                    {
                   
                        <label>
                            Improved
                        </label>
                   
                    }
                    @if (Model.PatientDetails.Synopsis.IsStatusQuo)
                    {
                    
                        <label>
                            StatusQuo
                        </label>
                   
                    }
                    @if (Model.PatientDetails.Synopsis.IsDeterioated)
                    {
                   
                        <label>
                            Deterioated
                        </label>
                    
                    }
                    @if (Model.PatientDetails.Synopsis.IsDeath)
                    {
                   
                        <label>
                            Death
                        </label>
                    
                    }
                </td>
            </font>
        </tr>
        <tr>
            <font size="4">
                <td>
                    <label>
                        Laboratory Investigation (As enclosed)
                    </label>
                </td>
                <td>
                    <label>
                        :
                    </label>
                </td>
                <td>
                </td>
            </font>
        </tr>
        <tr>
            <font size="4">
                <td>
                    <label>
                        Radiology Investigation (As enclosed)
                    </label>
                </td>
                <td>
                    <label>
                        :
                    </label>
                </td>
                <td>
                </td>
            </font>
        </tr>
    </table>
    <div style="page-break-before: always">
    </div>
    <table>
        <tr>
            <td>
                <a href="#">
                    <img src="../../Images/header_img1.jpg" alt="Logo" /></a>
            </td>
        </tr>
    </table>
    <table>
        <tr>
            <td>
                @Html.LabelFor(m => m.Patient.Location)
                <label>
                    :
                </label>
                <b>
                    @Model.Patient.Location
                </b>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.BeforeCare)
                <label>
                    :
                </label>
                <b>
                    @Model.PatientDetails.BeforeCare
                </b>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.Vehicle)
                <label>
                    :
                </label>
                <b>
                    @Model.PatientDetails.Vehicle
                </b>
            </td>
            <td>
                @Html.LabelFor(m => m.Patient.TypeOfEmergency)
                <label>
                    :
                </label>
                <b>
                    @Model.Patient.TypeOfEmergency
                </b>
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(m => m.PatientDetails.CauseOfEmergency)
                <label>
                    :
                </label>
                <b>
                    @Model.PatientDetails.CauseOfEmergency
                </b>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.MechanismOfInjury)
                <label>
                    :
                </label>
                <b>
                    @Model.PatientDetails.MechanismOfInjury
                </b>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.IncidentLocation)
                <label>
                    :
                </label>
                <b>
                    @Model.PatientDetails.IncidentLocation
                </b>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.MCI)
                <label>
                    :
                </label>
                <b>
                    @Model.PatientDetails.MCI
                </b>
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(m => m.PatientDetails.Anatomical)
                <label>
                    :
                </label>
                <b>
                    @Model.PatientDetails.Anatomical
                </b>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.Age)
                <label>
                    :
                </label>
                <b>
                    @Model.PatientDetails.Age
                </b>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.Sex)
                <label>
                    :
                </label>
                <b>
                    @Model.PatientDetails.Sex
                </b>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.Contact)
                <label>
                    :
                </label>
                <b>
                    @Model.PatientDetails.Contact
                </b>
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(m => m.PatientDetails.District)
                <label>
                    :
                </label>
                <b>
                    @ViewData["District"]
                </b>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.Taluk)
                <label>
                    :
                </label>
                <b>
                    @ViewData["Taluk"]
                </b>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.City)
                <label>
                    :
                </label>
                <b>
                    @ViewData["City"]
                </b>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.PatientInDateTime)
                <label>
                    :
                </label>
                <b>
                    @Model.PatientDetails.PatientInDateTime
                </b>
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(m => m.PatientDetails.SocialHabits)
                <label>
                    :
                </label>
                <b>
                    @Model.PatientDetails.SocialHabits
                </b>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.ChiefComplaint)
                <label>
                    :
                </label>
                <b>
                    @Model.PatientDetails.ChiefComplaint </b>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.CaseID108)
                <label>
                    :
                </label>
                <b>
                    @Model.PatientDetails.CaseID108
                </b>
            </td>
        </tr>
    </table>
    <table>
        <tr>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.IncidentNarration)
                </b>
                <label>
                    :
                </label>
                @Model.PatientDetails.IncidentNarration
            </td>
        </tr>
    </table>
    @Html.HiddenFor(m => m.PatientDetails.InitialAssesment.PatientId)
    <table>
        <tr>
            <td style="width: 10%;">
                <b>LOC : </b>
            </td>
            <td colspan="3" style="width: 70%;">
                @Html.LabelFor(m => m.PatientDetails.InitialAssesment.IsAlert)
                @Html.CheckBoxFor(m => m.PatientDetails.InitialAssesment.IsAlert)
                @Html.LabelFor(m => m.PatientDetails.InitialAssesment.IsVerbal)
                @Html.CheckBoxFor(m => m.PatientDetails.InitialAssesment.IsVerbal)
                @Html.LabelFor(m => m.PatientDetails.InitialAssesment.IsPain)
                @Html.CheckBoxFor(m => m.PatientDetails.InitialAssesment.IsPain)
                @Html.LabelFor(m => m.PatientDetails.InitialAssesment.IsUnresponsive)
                @Html.CheckBoxFor(m => m.PatientDetails.InitialAssesment.IsUnresponsive)
            </td>
            <td style="width: 20%;">
                @Html.LabelFor(m => m.PatientDetails.InitialAssesment.Locintervention)
                <label>
                    :
                </label>
                @Model.PatientDetails.InitialAssesment.Locintervention
            </td>
        </tr>
        <tr>
            <td>
                <b>Airway : </b>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.InitialAssesment.HasPatentAirway)
                @Html.RadioButtonFor(m => m.PatientDetails.InitialAssesment.HasPatentAirway, "true")
                <label class="value">
                    Yes</label>
                @Html.RadioButtonFor(m => m.PatientDetails.InitialAssesment.HasPatentAirway, "false")
                <label class="value">
                    No</label>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.InitialAssesment.IsAbnormalSoundsAirway)
                @Html.RadioButtonFor(m => m.PatientDetails.InitialAssesment.IsAbnormalSoundsAirway, "true")
                <label class="value">
                    Yes</label>
                @Html.RadioButtonFor(m => m.PatientDetails.InitialAssesment.IsAbnormalSoundsAirway, "false")
                <label class="value">
                    No</label>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.InitialAssesment.IsFluidsAirway)
                @Html.RadioButtonFor(m => m.PatientDetails.InitialAssesment.IsFluidsAirway, "true")
                <label class="value">
                    Yes</label>
                @Html.RadioButtonFor(m => m.PatientDetails.InitialAssesment.IsFluidsAirway, "false")
                <label class="value">
                    No</label>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.InitialAssesment.AirwayIntervention)
                <label>
                    :
                </label>
                @Model.PatientDetails.InitialAssesment.AirwayIntervention
            </td>
        </tr>
        <tr>
            <td>
                <b>Breathing : </b>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.InitialAssesment.HasBreathing)
                @Html.RadioButtonFor(m => m.PatientDetails.InitialAssesment.HasBreathing, "true")
                <label class="value">
                    Yes</label>
                @Html.RadioButtonFor(m => m.PatientDetails.InitialAssesment.HasBreathing, "false")
                <label class="value">
                    No</label>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.InitialAssesment.IsBreathingRateNormal)
                @Html.RadioButtonFor(m => m.PatientDetails.InitialAssesment.IsBreathingRateNormal, "true")
                <label class="value">
                    Normal</label>
                @Html.RadioButtonFor(m => m.PatientDetails.InitialAssesment.IsBreathingRateNormal, "false")
                <label class="value">
                    Abnormal</label>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.InitialAssesment.IsBreathingAdequate)
                @Html.RadioButtonFor(m => m.PatientDetails.InitialAssesment.IsBreathingAdequate, "true")
                <label class="value">
                    Yes</label>
                @Html.RadioButtonFor(m => m.PatientDetails.InitialAssesment.IsBreathingAdequate, "false")
                <label class="value">
                    No</label>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.InitialAssesment.BreathingIntervention)
                <label>
                    :
                </label>
                @Model.PatientDetails.InitialAssesment.BreathingIntervention
            </td>
        </tr>
        <tr>
            <td>
                <label>
                    <b>Circulation : </b>
                </label>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.InitialAssesment.Circulation)
                @Html.RadioButtonFor(m => m.PatientDetails.InitialAssesment.Circulation, "true")
                <label class="value">
                    Yes</label>
                @Html.RadioButtonFor(m => m.PatientDetails.InitialAssesment.Circulation, "false")
                <label class="value">
                    No</label>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.InitialAssesment.CirculationRateNormal)
                @Html.RadioButtonFor(m => m.PatientDetails.InitialAssesment.CirculationRateNormal, "true")
                <label class="value">
                    Normal</label>
                @Html.RadioButtonFor(m => m.PatientDetails.InitialAssesment.CirculationRateNormal, "false")
                <label class="value">
                    Abnormal</label>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.InitialAssesment.CirculationRegular)
                @Html.RadioButtonFor(m => m.PatientDetails.InitialAssesment.CirculationRegular, "true")
                <label class="value">
                    Yes</label>
                @Html.RadioButtonFor(m => m.PatientDetails.InitialAssesment.CirculationRegular, "false")
                <label class="value">
                    No</label>
            </td>
            <td>
                @Html.LabelFor(m => m.PatientDetails.InitialAssesment.CirculationIntervention)
                <label>
                    :
                </label>
                @Model.PatientDetails.InitialAssesment.CirculationIntervention
            </td>
        </tr>
    </table>
    @Html.HiddenFor(m => m.PatientDetails.DetailedAssesment.PatientId)
    <table>
        <tr>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.DetailedAssesment.IsHead)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.IsHead)
                </b>
            </td>
            <td>@Model.PatientDetails.DetailedAssesment.HeadDesc
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistorySigns)
                </b>
            </td>
            <td>
                @Model.PatientDetails.DetailedAssesment.HistorySigns
            </td>
        </tr>
        <tr>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.DetailedAssesment.IsNeck)
            </td>
            <td>
                <b>@Html.LabelFor(m => m.PatientDetails.DetailedAssesment.IsNeck)
                </b>
            </td>
            <td>
                @Model.PatientDetails.DetailedAssesment.NeckDesc
            </td>
            <td>
                <b>@Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistorySymptoms)
                </b>
            </td>
            <td>@Model.PatientDetails.DetailedAssesment.HistorySymptoms
            </td>
        </tr>
        <tr>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.DetailedAssesment.IsChest)
            </td>
            <td>
                <b>@Html.LabelFor(m => m.PatientDetails.DetailedAssesment.IsChest)
                </b>
            </td>
            <td>@Model.PatientDetails.DetailedAssesment.ChestDesc
            </td>
            <td>
                <b>@Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistoryOpq)
                </b>
            </td>
            <td>
                @Model.PatientDetails.DetailedAssesment.HistoryOpq
            </td>
        </tr>
        <tr>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.DetailedAssesment.IsLungs)
            </td>
            <td>
                <b>@Html.LabelFor(m => m.PatientDetails.DetailedAssesment.IsLungs)
                </b>
            </td>
            <td>
                @Model.PatientDetails.DetailedAssesment.LungsDesc
            </td>
            <td>
                <b>@Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistoryRst)
                </b>
            </td>
            <td>
                @Model.PatientDetails.DetailedAssesment.HistoryRst
            </td>
        </tr>
        <tr>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.DetailedAssesment.IsAbdomen)
            </td>
            <td>
                <b>@Html.LabelFor(m => m.PatientDetails.DetailedAssesment.IsAbdomen)
                </b>
            </td>
            <td>
                @Model.PatientDetails.DetailedAssesment.AbdomenDesc
            </td>
            <td>
                <b>@Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistoryAllergies)
                </b>
            </td>
            <td>
                @Model.PatientDetails.DetailedAssesment.HistoryAllergies
            </td>
        </tr>
        <tr>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.DetailedAssesment.IsPelvis)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.IsPelvis)
                </b>
            </td>
            <td>
                @Model.PatientDetails.DetailedAssesment.PelvisDesc
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistoryMedications)
                </b>
            </td>
            <td>
                @Model.PatientDetails.DetailedAssesment.HistoryMedications
            </td>
        </tr>
        <tr>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.DetailedAssesment.IsExtemities)
            </td>
            <td>
                <b>@Html.LabelFor(m => m.PatientDetails.DetailedAssesment.IsExtemities)
                </b>
            </td>
            <td>
                @Model.PatientDetails.DetailedAssesment.ExtemitiesDesc
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistoryPastIllness)
                </b>
            </td>
            <td>
                @Model.PatientDetails.DetailedAssesment.HistoryPastIllness
            </td>
        </tr>
        <tr>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.DetailedAssesment.IsBack)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.IsBack)
                </b>
            </td>
            <td>
                @Model.PatientDetails.DetailedAssesment.BackDesc
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistoryEvents)
                </b>
            </td>
            <td>
                @Model.PatientDetails.DetailedAssesment.HistoryEvents
            </td>
        </tr>
        <tr>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.DetailedAssesment.IsNeuro)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.IsNeuro)
                </b>
            </td>
            <td>
                @Model.PatientDetails.DetailedAssesment.NeuroDesc
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistoryLastOralIntake)
                </b>
            </td>
            <td>
                @Model.PatientDetails.DetailedAssesment.HistoryLastOralIntake
            </td>
        </tr>
        <tr>
            <td colspan="5">
                <table class="showborder">
                    <tr>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().Time))
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().Pulse)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().Respirations)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().BloodPressure)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().Spo2)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().PupilsR)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().PupilsL)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().Caprefill)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().Grbs)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().Temp)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().Gcs)
                        </th>
                    </tr>
                    @* @Html.EditorFor(m => m.PatientDetails.DetailedAssesment.Readings)*@
                    @foreach (var r in Model.PatientDetails.DetailedAssesment.Readings)
                    {
                        <tr>
                            <td>
                                @r.Time
                            </td>
                            <td>
                                @r.Pulse
                            </td>
                            <td>
                                @r.Respirations
                            </td>
                            <td>
                                @r.BloodPressure
                            </td>
                            <td>
                                @r.Spo2
                            </td>
                            <td>
                                @r.PupilsR
                            </td>
                            <td>
                                @r.PupilsL
                            </td>
                            <td>
                                @r.Caprefill
                            </td>
                            <td>
                                @r.Grbs
                            </td>
                              <td>
                                @r.Temp
                            </td>
                            <td>
                                @r.Gcs
                            </td>
                        </tr>
                    }
                </table>
            </td>
        </tr>
    </table>
    @Html.HiddenFor(m => m.PatientDetails.Investigation.PatientId)
    <table>
        <tr>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.Investigation.Ecg)
                </b>
            </td>
            <td>
                @Model.PatientDetails.Investigation.Ecg
            </td>
        </tr>
        <tr>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.Investigation.Xray)
                </b>
            </td>
            <td>
                @Model.PatientDetails.Investigation.Xray
            </td>
        </tr>
        <tr>
            <td>
                <b>@Html.LabelFor(m => m.PatientDetails.Investigation.Blood)
                </b>
            </td>
            <td>
                @Model.PatientDetails.Investigation.Blood
            </td>
        </tr>
    </table>
    <table>
        <tr>
           @* <td>
                <b>@Html.LabelFor(m => m.PatientDetails.Investigation.pcr_108)
                </b>
            </td>
            <td>
                @Model.PatientDetails.Investigation.pcr_108
            </td>*@
            <td>
                <b>@Html.LabelFor(m => m.PatientDetails.Investigation.Photos1)
                </b>
            </td>
            <td>
                @Model.PatientDetails.Investigation.Photos1
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.Investigation.Photos2)
                </b>
            </td>
            <td>
                @Model.PatientDetails.Investigation.Photos2
            </td>
        </tr>
        <tr>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.Investigation.Others)
                </b>
            </td>
            <td>
                @Model.PatientDetails.Investigation.Others
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.Investigation.Pregnancy)
                </b>
            </td>
            <td colspan="2">
                @Html.RadioButtonFor(m => m.PatientDetails.Investigation.Pregnancy, "true")
                <label>
                    Yes</label>
                @Html.RadioButtonFor(m => m.PatientDetails.Investigation.Pregnancy, "false")
                <label>
                    No</label>
                <td colspan="2">
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    @Html.LabelFor(m => m.PatientDetails.Investigation.G)
                    @Html.CheckBoxFor(m => m.PatientDetails.Investigation.G)
                    @Html.LabelFor(m => m.PatientDetails.Investigation.P)
                    @Html.CheckBoxFor(m => m.PatientDetails.Investigation.P)
                    @Html.LabelFor(m => m.PatientDetails.Investigation.L)
                    @Html.CheckBoxFor(m => m.PatientDetails.Investigation.L)
                    @Html.LabelFor(m => m.PatientDetails.Investigation.D)
                    @Html.CheckBoxFor(m => m.PatientDetails.Investigation.D)
                    @Html.LabelFor(m => m.PatientDetails.Investigation.A)
                    @Html.CheckBoxFor(m => m.PatientDetails.Investigation.A)
                </td>
        </tr>
    </table>
    @Html.HiddenFor(m => m.PatientDetails.Treatment.PatientId)
    <table>
        <tr>
            <td style="width: 40%;">
                <h5>
                    @Html.LabelFor(m => m.PatientDetails.Treatment.LifeLines)</h5>
                <table class="showborder">
                    <tr>
                        <th>
                            <label>
                                Gauge
                            </label>
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.Treatment.LifeLines.First().Site)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.Treatment.LifeLines.First().Attempt)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.Treatment.LifeLines.First().Success)
                        </th>
                    </tr>
                    @Html.EditorFor(m => m.PatientDetails.Treatment.LifeLines)
                </table>
            </td>
            <td rowspan="3" style="width: 60%;">
                <table class="showborder">
                    <tr>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.Treatment.TreatmentDetails.First().Time)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.Treatment.TreatmentDetails.First().Interventions)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.Treatment.TreatmentDetails.First().Response)
                        </th>
                    </tr>
                    @foreach (var t in Model.PatientDetails.Treatment.TreatmentDetails)
                    {
                        <tr>
                            <td>
                                @t.Time
                            </td>
                            <td>
                                @t.Interventions
                            </td>
                            <td>
                                @t.Response
                            </td>
                        </tr>
                    }
                    @*@Html.DisplayFor(m => m.PatientDetails.Treatment.TreatmentDetails) 
                  @ViewData["PatientDetails.Treatment.TreatmentDetails"]
                      @Model.PatientDetails.Treatment.TreatmentDetails*@
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <h5>
                    <label>
                        O2, Ventlations</label></h5>
                @Html.CheckBoxFor(m => m.PatientDetails.Treatment.O2Facemask)
                @Html.LabelFor(m => m.PatientDetails.Treatment.O2Facemask)
                @Html.CheckBoxFor(m => m.PatientDetails.Treatment.O2Nrbm)
                @Html.LabelFor(m => m.PatientDetails.Treatment.O2Nrbm)
                @Html.CheckBoxFor(m => m.PatientDetails.Treatment.O2NasalCannula)
                @Html.LabelFor(m => m.PatientDetails.Treatment.O2NasalCannula)
                @Html.CheckBoxFor(m => m.PatientDetails.Treatment.O2Others)
                @Html.LabelFor(m => m.PatientDetails.Treatment.O2Others)
                &nbsp;&nbsp;&nbsp;&nbsp;
                @Html.LabelFor(m => m.PatientDetails.Treatment.O2Time)
                @Html.TextBoxFor(m => m.PatientDetails.Treatment.O2Time, new { @class = "shortTxt" })
                @Html.LabelFor(m => m.PatientDetails.Treatment.O2Lpm)
                @Html.TextBoxFor(m => m.PatientDetails.Treatment.O2Lpm, new { @class = "shortTxt" })
            </td>
        </tr>
        <tr>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.Treatment.VentilatorMechanical)
                @Html.LabelFor(m => m.PatientDetails.Treatment.VentilatorMechanical)
                @Html.CheckBoxFor(m => m.PatientDetails.Treatment.VentilatorBagMask)
                @Html.LabelFor(m => m.PatientDetails.Treatment.VentilatorBagMask)
                @Html.CheckBoxFor(m => m.PatientDetails.Treatment.VentilatorOthers)
                @Html.LabelFor(m => m.PatientDetails.Treatment.VentilatorOthers)
                &nbsp;&nbsp;&nbsp;&nbsp;
                @Html.LabelFor(m => m.PatientDetails.Treatment.VentilatorMode)
                @Html.TextBoxFor(m => m.PatientDetails.Treatment.VentilatorMode, new { @class = "shortTxt" })
                @Html.LabelFor(m => m.PatientDetails.Treatment.VentilatorRate)
                @Html.TextBoxFor(m => m.PatientDetails.Treatment.VentilatorRate, new { @class = "shortTxt" })
                <label class="value">
                    (Min)</label>
            </td>
        </tr>
        <tr>
            <td>
                <h5>
                    <label>
                        Others</label>
                </h5>
                @Html.CheckBoxFor(m => m.PatientDetails.Treatment.Woundcare)
                @Html.LabelFor(m => m.PatientDetails.Treatment.Woundcare)
                @Html.CheckBoxFor(m => m.PatientDetails.Treatment.Suturing)
                @Html.LabelFor(m => m.PatientDetails.Treatment.Suturing)
                @Html.CheckBoxFor(m => m.PatientDetails.Treatment.Splinting)
                @Html.LabelFor(m => m.PatientDetails.Treatment.Splinting)
                @Html.CheckBoxFor(m => m.PatientDetails.Treatment.Smrd)
                @Html.LabelFor(m => m.PatientDetails.Treatment.Smrd)
                @Html.CheckBoxFor(m => m.PatientDetails.Treatment.BleedingControl)
                @Html.LabelFor(m => m.PatientDetails.Treatment.BleedingControl)
                @Html.CheckBoxFor(m => m.PatientDetails.Treatment.Ccollar)
                @Html.LabelFor(m => m.PatientDetails.Treatment.Ccollar)
                @Html.CheckBoxFor(m => m.PatientDetails.Treatment.Aed)
                @Html.LabelFor(m => m.PatientDetails.Treatment.Aed)
                @Html.CheckBoxFor(m => m.PatientDetails.Treatment.Cpr)
                @Html.LabelFor(m => m.PatientDetails.Treatment.Cpr)
                @Html.TextBoxFor(m => m.PatientDetails.Treatment.CprDesc, new { @class = "shortTxt" })
            </td>
            <td>
                <h5>
                    <label>
                        Airway Management</label></h5>
                <table class="showborder">
                    <tr>
                        <th>
                            <label>
                                Procedure</label>
                        </th>
                        <th>
                            <label>
                                Size</label>
                        </th>
                        <th>
                            <label>
                                Success</label>
                        </th>
                        <th>
                            <label>
                                Time</label>
                        </th>
                        <th>
                            <label>
                                #Attempt</label>
                        </th>
                    </tr>
                    <tr>
                        <td>
                            @Html.CheckBoxFor(m => m.PatientDetails.Treatment.Suction)
                            @Html.LabelFor(m => m.PatientDetails.Treatment.Suction)
                        </td>
                        <td>@Html.TextBoxFor(m => m.PatientDetails.Treatment.SuctionSize)
                        </td>
                        <td>
                            @Html.RadioButtonFor(m => m.PatientDetails.Treatment.SuctionSuccess, "true")
                            <label class="value">
                                Yes</label>
                            @Html.RadioButtonFor(m => m.PatientDetails.Treatment.SuctionSuccess, "false")
                            <label class="value">
                                No</label>
                        </td>
                        <td>
                            @Html.TextBoxFor(m => m.PatientDetails.Treatment.SuctionTime)
                        </td>
                        <td>
                            @Html.TextBoxFor(m => m.PatientDetails.Treatment.SuctionAttempt)
                        </td>
                    </tr>
                    <tr>
                        <td>
                            @Html.CheckBoxFor(m => m.PatientDetails.Treatment.OpaNpa)
                            @Html.LabelFor(m => m.PatientDetails.Treatment.OpaNpa)
                        </td>
                        <td>@Html.TextBoxFor(m => m.PatientDetails.Treatment.OpaNpaSize)
                        </td>
                        <td>
                            @Html.RadioButtonFor(m => m.PatientDetails.Treatment.OpaNpaSuccess, "true")
                            <label class="value">
                                Yes</label>
                            @Html.RadioButtonFor(m => m.PatientDetails.Treatment.OpaNpaSuccess, "false")
                            <label class="value">
                                No</label>
                        </td>
                        <td>
                            @Html.TextBoxFor(m => m.PatientDetails.Treatment.OpaNpaTime)
                        </td>
                        <td>
                            @Html.TextBoxFor(m => m.PatientDetails.Treatment.OpaNpaAttempt)
                        </td>
                    </tr>
                    <tr>
                        <td>
                            @Html.CheckBoxFor(m => m.PatientDetails.Treatment.EtNt)
                            @Html.LabelFor(m => m.PatientDetails.Treatment.EtNt)
                        </td>
                        <td>@Html.TextBoxFor(m => m.PatientDetails.Treatment.EtNtSize)
                        </td>
                        <td>
                            @Html.RadioButtonFor(m => m.PatientDetails.Treatment.EtNtSuccess, "true")
                            <label class="value">
                                Yes</label>
                            @Html.RadioButtonFor(m => m.PatientDetails.Treatment.EtNtSuccess, "false")
                            <label class="value">
                                No</label>
                        </td>
                        <td>
                            @Html.TextBoxFor(m => m.PatientDetails.Treatment.EtNtTime)
                        </td>
                        <td>
                            @Html.TextBoxFor(m => m.PatientDetails.Treatment.EtNtAttempt)
                        </td>
                    </tr>
                    <tr>
                        <td>
                            @Html.CheckBoxFor(m => m.PatientDetails.Treatment.AirwayMgmtOthers)
                            @Html.LabelFor(m => m.PatientDetails.Treatment.AirwayMgmtOthers)
                        </td>
                        <td>@Html.TextBoxFor(m => m.PatientDetails.Treatment.AirwayMgmtOthersSize)
                        </td>
                        <td>
                            @Html.RadioButtonFor(m => m.PatientDetails.Treatment.AirwayMgmtOthersSuccess, "true")
                            <label class="value">
                                Yes</label>
                            @Html.RadioButtonFor(m => m.PatientDetails.Treatment.AirwayMgmtOthersSuccess, "false")
                            <label class="value">
                                No</label>
                        </td>
                        <td>
                            @Html.TextBoxFor(m => m.PatientDetails.Treatment.AirwayMgmtOthersTime)
                        </td>
                        <td>
                            @Html.TextBoxFor(m => m.PatientDetails.Treatment.AirwayMgmtOthersAttempt)
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    @Html.HiddenFor(m => m.PatientDetails.Synopsis.PatientId)
    <table>
        <tr>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.Treatment.Advice)
                </b>
            </td>
            <td>
                @Model.PatientDetails.Treatment.Advice
            </td>
        </tr>
        <tr>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.Treatment.Summary)
                </b>
            </td>
            <td>
                @Model.PatientDetails.Treatment.Summary
            </td>
        </tr>
        <tr>
            <td>
                <label>
                    <b>Status During Discharge: </b>
                </label>
            </td>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.Synopsis.HasImproved)
                @Html.LabelFor(m => m.PatientDetails.Synopsis.HasImproved)
                @Html.CheckBoxFor(m => m.PatientDetails.Synopsis.IsStatusQuo)
                @Html.LabelFor(m => m.PatientDetails.Synopsis.IsStatusQuo)
                @Html.CheckBoxFor(m => m.PatientDetails.Synopsis.IsDeterioated)
                @Html.LabelFor(m => m.PatientDetails.Synopsis.IsDeterioated)
                @Html.CheckBoxFor(m => m.PatientDetails.Synopsis.IsDeath)
                @Html.LabelFor(m => m.PatientDetails.Synopsis.IsDeath)
                @*@Html.LabelFor(m => m.PatientDetails.Synopsis.IsCritical)
                @Html.RadioButtonFor(m => m.PatientDetails.Synopsis.IsCritical, "true")
                <label class="value">
                    Yes</label>
                @Html.RadioButtonFor(m => m.PatientDetails.Synopsis.IsCritical, "false")
                <label class="value">
                    No</label>*@
            </td>
        </tr>
        <tr>
            <td>
                <label>
                    <b>Dispositon : </b>
                </label>
            </td>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.Synopsis.IsDischarged)
                @Html.LabelFor(m => m.PatientDetails.Synopsis.IsDischarged)
                @Html.CheckBoxFor(m => m.PatientDetails.Synopsis.IsAdmitted)
                @Html.LabelFor(m => m.PatientDetails.Synopsis.IsAdmitted)
                @Html.CheckBoxFor(m => m.Patient.IsReferred)
                @Html.LabelFor(m => m.Patient.IsReferred)
                &nbsp; &nbsp;
                <label>
                    Hospital
                </label>
                <b>
                    @Model.Patient.HospitalName
                </b>
            </td>
        </tr>
        <tr>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <b>@Html.LabelFor(m => m.PatientDetails.Synopsis.MedicalDisposables): </b>
            </td>
            <td>
                @Model.PatientDetails.Synopsis.MedicalDisposables
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(m => m.Patient.Doctor)
            </td>
            <td>
                <b>
                    @Model.Patient.Doctor
                </b>
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(m => m.PatientDetails.Synopsis.Attender)
            </td>
            <td>
                <b>
                    @Model.PatientDetails.Synopsis.Attender
                </b>
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(m => m.PatientDetails.Synopsis.DischargeDateTime)
            </td>
            <td>
                <b>
                    @Model.PatientDetails.Synopsis.DischargeDateTime
                </b>
                @Html.LabelFor(m => m.PatientDetails.Synopsis.Name)
                <b>
                    @Model.PatientDetails.Synopsis.Name
                </b>
            </td>
        </tr>
         <tr>
            <td>
                <img class="photo" src="@Url.Action("GetInvesigationImage", "Patient", new { imageKey = "Photos1", patientId = Model.PatientDetails.PatientId })" 
                    alt="Photo Image"/>
            </td>
        </tr>
    </table>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { patientId = Model.Patient.PatientId }) |
    @Html.ActionLink("Back to List", "Index")
</p>
